﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VitCode.ObjectResolutionHelper
{
    [AttributeUsage(AttributeTargets.All)]
    public class OrEnumDesAttribute : Attribute
    {
        public static readonly OrEnumDesAttribute Default = new OrEnumDesAttribute(null);

        public OrEnumDesAttribute(string[] description)
        {
            DescriptionValue = description;
        }

        public virtual string[] Description { get { return DescriptionValue; } }

        protected string[] DescriptionValue { get; set; }

        public override bool IsDefaultAttribute()
        {
            return Default.Equals(this);
        }
    }
}
